package com.example.hrm.service;

import com.example.hrm.entity.UserAuthentication;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
* @author DELL
* @description 针对表【user_authentication】的数据库操作Service
* @createDate 2025-08-02 14:48:13
*/
public interface UserAuthenticationService extends IService<UserAuthentication> {
    Map<String,String> login(String username, String password);
    boolean existsByUsername(String username);
    void resetPassword(String username, String newPassword);
    void logout(String token);

    void register(String username, String password, String email, String phone);
}
